<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>移动端分类页practice01</title>
  <link rel="icon" href="./favicon.ico">
  <link rel="stylesheet" href="./lib/fa/css/font-awesome.css">
  <link rel="stylesheet" href="./lib/mui/css/mui.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>
<body>
  <div class="lt_container">
    <div class="lt_header">
      <a class="icon_left fa fa-home" href="index.html"></a>
      <span>乐淘云购</span>
      <a class="icon_right fa fa-search" href="search.html"></a>
    </div>
    <div class="lt_main">
      <div class="first_left">
          <div class="mui-scroll-wrapper">
              <div class="mui-scroll">
                <!--这里放置真实显示的DOM内容-->
                <ul>
                  <li><a href="javascript:;">运动馆</a></li>
                  <!-- 等待加载 -->
                </ul>
              </div>
            </div>
      </div>
      <div class="second_right">
          <div class="mui-scroll-wrapper">
              <div class="mui-scroll">
                <!--这里放置真实显示的DOM内容-->
                <ul>
                  <!-- 等待加载 -->
                  <!-- <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li> -->
                  <!-- <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li>
                  <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li>
                  <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li>
                  <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li>
                  <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li>
                  <li><a href="#"><img src="./images/brand1.png" alt=""><p>耐克王</p></a></li> -->
                </ul>
              </div>
            </div>
      </div>
    </div>
    <div class="lt_footer">
      <ul>
        <li><a href="index.html"><span class="fa fa-home"></span><p>首页</p></a></li>
        <li class="now"><a href="category.html"><span class="fa fa-home"></span><p>分类</p></a></li>
        <li><a href="cart.html"><span class="fa fa-shopping-cart"></span><p>购物车</p></a></li>
        <li><a href="user.html"><span class="fa fa-user"></span><p>会员中心</p></a></li>
      </ul>
    </div>
  </div>


  <script type="text/template" id="tmp">
   {{each rows v i}}
      <li class="{{i===0?'now':''}}" data-id={{v.id}}><a href="javascript:;">{{v.categoryName}}</a></li>
   {{/each}}
  </script>

  <script type="text/template" id="tmp2">
    {{if total===0}}
     <span class="category_tip">抱歉,该分类下没有对应的商品信息!</span>
    {{/if}}
    {{each rows v i}}
    <li><a href="#"><img src="{{v.brandLogo}}" alt=""><p>{{v.brandName}}</p></a></li>
    {{/each}}
  </script>

 
  <script src="./lib/zepto/zepto.min.js"></script>
  <script src="./lib/mui/js/mui.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/category.js"></script>
</body>
</html>